{% extends '::base.html.twig' %}

{% block services_attributes %} class="active"{% endblock %}
{% block title %}{% trans %}Confirm Payment{% endtrans %}{% endblock %}

{% block body %}
<div class="row-fluid whiteWrapper blogPage">
    <fieldset>
        <legend>{% trans %}Choose a payment method{% endtrans %}</legend>
        <hr class="smallHr">     
    </fieldset>

    <div class="span3 offset2">
        {{ html | raw }}
        </div>

        <h1 class="or span1">{% trans %}OR{% endtrans %}</h1>

        <div class="span3 ">
        {% if app.user.country == 'Egypt' %}
                <a class="cash" href="{{ path('cash_payment',{'serviceId' : serviceId,'isRush' : isRush}) }}"></a>
        {% else %}
                <a class="cash" href="javascript:void(0)"></a>
        {% endif %}
                <span class="availability">
{% trans %}Available in Egypt only{% endtrans %}
                        <br/>
{% trans %}A member of the Educino team will be in touch to arrange cash-payment.{% endtrans %}
                    </span>
                </div>
            </div>
{% endblock %}

{% block javascripts %}
{{parent()}}
            <script>
                $(document).ready(function(){
                    /*setTimeout(function () {
                        $('form[name="gateway_form"]').submit();
                    }, 5000);*/
                });
                </script>    
{% endblock %}